package org.apache.servicecomb.fence.resource;

public class StudentDTO {
    private String name;
    private int age;

    private Long id;

    private Long classId;

    public StudentDTO(String name, int age, Long id, Long classId) {
        this.name = name;
        this.age = age;
        this.id = id;
        this.classId = classId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }
}